﻿using System;
using System.Linq;
using System.Text;
using SqlSugar;

namespace DongFangGuoKai.WMSPlatform.Domain.Models
{
    ///<summary>
    ///托盘
    ///</summary>
    [SugarTable("DBO.t_Pallet")]
    public partial class t_Pallet
    {
        public t_Pallet()
        {


        }
        /// <summary>
        /// Desc:Id
        /// Default:
        /// Nullable:False
        /// </summary>           
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int Id { get; set; }

        /// <summary>
        /// Desc:托盘条码
        /// Default:
        /// Nullable:False
        /// </summary>           
        public string PalletBarcode { get; set; }

        /// <summary>
        /// Desc:托盘名称
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string? PalletName { get; set; }

        /// <summary>
        /// Desc:所在货位
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string? LocationCode { get; set; }

        /// <summary>
        /// Desc:状态：0-禁用；1-启用
        /// Default:1
        /// Nullable:False
        /// </summary>           
        public int Status { get; set; }

        /// <summary>
        /// Desc:创建时间
        /// Default:DateTime.Now
        /// Nullable:True
        /// </summary>           
        public DateTime? CreateDate { get; set; }

        /// <summary>
        /// Desc:启用时间
        /// Default:
        /// Nullable:True
        /// </summary>           
        public DateTime? ModifyDate { get; set; }

        /// <summary>
        /// Desc:
        /// Default:1
        /// Nullable:False
        /// </summary>           
        public int DisplayOrder { get; set; }

        /// <summary>
        /// Desc:
        /// Default:0
        /// Nullable:False
        /// </summary>           
        public int OPPrint { get; set; }

        /// <summary>
        /// Desc:
        /// Default:0
        /// Nullable:False
        /// </summary>           
        public int PrintTimes { get; set; }

        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string? LocationName { get; set; }

        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string? ERPLocationName { get; set; }

        /// <summary>
        /// Desc: 0:托盘 1:大箱子 2:小箱子
        /// Default:
        /// Nullable:True
        /// </summary>           
        public int? Type { get; set; }

        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:True
        /// </summary>           
        public int? WarehouseId { get; set; }

        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string? WarehouseCode { get; set; }

        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string? WarehouseName { get; set; }

        /// <summary>
        /// Desc:
        /// Default:N''
        /// Nullable:False
        /// </summary>           
        public string LogicalPartCode { get; set; }

    }
}
